package com.example.spring.filter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import redis.clients.jedis.JedisCluster;

/**
 * Created by Administrator on 2017-11-17.
 */
public class SetupFilter implements CommandLineRunner{

    Logger logger = LoggerFactory.getLogger(SetupFilter.class);

    @Autowired
    private JedisCluster jedisCluster;

    @Override
    public void run(String... strings) throws Exception {
        logger.info("=====================================");
        logger.info("                                     ");
        logger.info("        Hello,welcome to here        ");
        logger.info("                                     ");
        logger.info("=====================================");

        //将一些预加载信息加载至redis



    }
}
